home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Digital Sound Studio d1.adf
/
ARexx
/
filter.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-08-04
|
1KB
|
29 lines
/* DSS8+ Cutoff Filter Adjustment Script */
/* by Bill Prescott 8/4/93 */
Options Results /* Allows you to get result codes from the */
/* commands issued below. */
address "REXX_DSS8" /* This defines where the rest of the script */
/* be talking to. */
filterfreq 25000 /* The number following "filterfreq" sets the */
/* cutoff frequency of the sampler's anti-alias */
/* low-pass filter, and can be any integer from */
/* 1000 to 25000. Although there are only 128 */
/* possible cutoff frequency settings available, */
/* dssrexx will round off any integer to the */
/* nearest cutoff frequency setting */
filterfreq /* This line will get the current setting of the */
/* cutoff filter and place it in the variable */
/* "result". */
ff=result /* Now we are making the variable "ff" equal to */
/* output of the above result so that the next */
/* result won't overwrite the one that we need. */
say ff /* This just prints the variable "ff" to the */
/* screen so that you know that the filter has */
/* been set to the requested setting. */